#include <stdio.h>
#include <getch.h>
#include <stdlib.h>
#include "stuManage.h"
#include "stuFunc.h"
#include "tools.h"
#include "initProgram.h"

void stuManage(int id) 
{
	for(;;)
	{
		system("clear");
		stuView();
		int num = 0;
		scanf("%d",&num);
		getchar();
		switch(num)
		{
			case 1:stuSearchScore(id);break;
			case 2:stuModifypassword(id);break;
			case 3:stuViewinfo(id);break;
			case 4:logout(1);break;
		}
	}
}

